package org.dromara.system.domain.vo;

import lombok.Data;

import java.util.Date;

@Data
public class DataBaseVo {
    private ModbusTcpStatusInfo modbusTcpStatusInfo;
    private HttpServerStatusInfo httpServerStatusInfo;
    private UdpServerStatusInfo udpServerStatusInfo;
    private BsmServerStatusInfo bsmServerStatusInfo;
    private YtServerStatusInfo ytServerStatusInfo;

    @Data
    public static class ModbusTcpStatusInfo {
        private String name;
        private int status;
        private String desc;
        private Date updateTime;
    }

    @Data
    public static class HttpServerStatusInfo {
        private String name;
        private int status;
        private String desc;
        private Date updateTime;
    }

    @Data
    public static class UdpServerStatusInfo {
        private String name;
        private int status;
        private String desc;
        private Date updateTime;
    }

    @Data
    public static class BsmServerStatusInfo {
        private String name;
        private int status;
        private String desc;
        private Date updateTime;
    }

    @Data
    public static class YtServerStatusInfo {
        private String name;
        private int status;
        private String desc;
        private Date updateTime;
    }
}
